<<<<<<< HEAD
import axios from '../axios'

/* 
 * 系统登录模块
 */

// 登录
export const login = data => {
    return axios({
        url: '/login',
        method: 'post',
        data
    })
=======
import Axios from "axios";

/**
 * 系统登录模块
 */
// 登录
export const login = data => {
  console.log('请求参数', data)
  return Axios({
    url: '/login',
    method: 'post',
    data
  })
>>>>>>> master
}

// 登出
export const logout = () => {
<<<<<<< HEAD
    return axios({
        url: '/logout',
        method: 'get'
    })
=======
  return Axios({
    url: '/logout',
    method: 'get'
  })
>>>>>>> master
}